<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>love_air: com.example.akisame_lin.love_air2.utils.BusLineOverlay类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">love_air
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin.html">akisame_lin</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2.html">love_air2</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils.html">utils</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html">BusLineOverlay</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.akisame_lin.love_air2.utils.BusLineOverlay类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.example.akisame_lin.love_air2.utils.BusLineOverlay 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay__inherit__graph.png" border="0" usemap="#com_8example_8akisame__lin_8love__air2_8utils_8_bus_line_overlay_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
com.example.akisame_lin.love_air2.utils.BusLineOverlay 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay__coll__graph.png" border="0" usemap="#com_8example_8akisame__lin_8love__air2_8utils_8_bus_line_overlay_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 1 -->
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3bae762afd7f6ab438e947096aa3a412"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#a3bae762afd7f6ab438e947096aa3a412">BusLineOverlay</a> (BaiduMap baiduMap)</td></tr>
<tr class="separator:a3bae762afd7f6ab438e947096aa3a412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a170ae0fce2e4d5d17d066ecf0ebff773"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#a170ae0fce2e4d5d17d066ecf0ebff773">setData</a> (BusLineResult result)</td></tr>
<tr class="separator:a170ae0fce2e4d5d17d066ecf0ebff773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffcfad4dbf8428fa7a009f4129121a9"><td class="memItemLeft" align="right" valign="top">final List&lt; OverlayOptions &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#abffcfad4dbf8428fa7a009f4129121a9">getOverlayOptions</a> ()</td></tr>
<tr class="separator:abffcfad4dbf8428fa7a009f4129121a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4a33d7e17c716831a6f49b1a668b093"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#aa4a33d7e17c716831a6f49b1a668b093">onBusStationClick</a> (int index)</td></tr>
<tr class="separator:aa4a33d7e17c716831a6f49b1a668b093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa098f2a4e0fea56e427e86ba77db592"><td class="memItemLeft" align="right" valign="top">final boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#afa098f2a4e0fea56e427e86ba77db592">onMarkerClick</a> (Marker marker)</td></tr>
<tr class="separator:afa098f2a4e0fea56e427e86ba77db592"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3670408552eea15f9a7e2939995b736a"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#a3670408552eea15f9a7e2939995b736a">onPolylineClick</a> (Polyline polyline)</td></tr>
<tr class="separator:a3670408552eea15f9a7e2939995b736a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html">com.example.akisame_lin.love_air2.utils.OverlayManager</a></td></tr>
<tr class="memitem:ad74ec83ee7b547fb38569b0d8502b390 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#ad74ec83ee7b547fb38569b0d8502b390">OverlayManager</a> (BaiduMap baiduMap)</td></tr>
<tr class="separator:ad74ec83ee7b547fb38569b0d8502b390 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab43fa6415de888d480d913d1b924b309 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">abstract List&lt; OverlayOptions &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#ab43fa6415de888d480d913d1b924b309">getOverlayOptions</a> ()</td></tr>
<tr class="separator:ab43fa6415de888d480d913d1b924b309 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ae8c26fe0b12334e47b7d6750934b1 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#a24ae8c26fe0b12334e47b7d6750934b1">addToMap</a> ()</td></tr>
<tr class="separator:a24ae8c26fe0b12334e47b7d6750934b1 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac0bce20620393dac45943920a42bf3b inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#aac0bce20620393dac45943920a42bf3b">removeFromMap</a> ()</td></tr>
<tr class="separator:aac0bce20620393dac45943920a42bf3b inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0378e30878118dc7cf782d6ec3f53de4 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#a0378e30878118dc7cf782d6ec3f53de4">zoomToSpan</a> ()</td></tr>
<tr class="separator:a0378e30878118dc7cf782d6ec3f53de4 inherit pub_methods_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a323eb1d31b4b75b16dad16e83c3a4029"><td class="memItemLeft" align="right" valign="top">BusLineResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay.html#a323eb1d31b4b75b16dad16e83c3a4029">mBusLineResult</a> = null</td></tr>
<tr class="separator:a323eb1d31b4b75b16dad16e83c3a4029"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td colspan="2" onclick="javascript:toggleInherit('pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager')"><img src="closed.png" alt="-"/>&#160;包属性 继承自 <a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html">com.example.akisame_lin.love_air2.utils.OverlayManager</a></td></tr>
<tr class="memitem:a31aa73745cf259b0dfe206deb34d2a9c inherit pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">BaiduMap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#a31aa73745cf259b0dfe206deb34d2a9c">mBaiduMap</a> = null</td></tr>
<tr class="separator:a31aa73745cf259b0dfe206deb34d2a9c inherit pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab43b42db742ecd7014645c458d5c4463 inherit pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memItemLeft" align="right" valign="top">List&lt; Overlay &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager.html#ab43b42db742ecd7014645c458d5c4463">mOverlayList</a> = null</td></tr>
<tr class="separator:ab43b42db742ecd7014645c458d5c4463 inherit pac_attribs_classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_overlay_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>用于显示一条公交详情结果的Overlay </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a3bae762afd7f6ab438e947096aa3a412"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bae762afd7f6ab438e947096aa3a412">&#9670;&nbsp;</a></span>BusLineOverlay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.example.akisame_lin.love_air2.utils.BusLineOverlay.BusLineOverlay </td>
          <td>(</td>
          <td class="paramtype">BaiduMap&#160;</td>
          <td class="paramname"><em>baiduMap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>构造函数</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">baiduMap</td><td>该BusLineOverlay所引用的 BaiduMap 对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="abffcfad4dbf8428fa7a009f4129121a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abffcfad4dbf8428fa7a009f4129121a9">&#9670;&nbsp;</a></span>getOverlayOptions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final List&lt;OverlayOptions&gt; com.example.akisame_lin.love_air2.utils.BusLineOverlay.getOverlayOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa4a33d7e17c716831a6f49b1a668b093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4a33d7e17c716831a6f49b1a668b093">&#9670;&nbsp;</a></span>onBusStationClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.example.akisame_lin.love_air2.utils.BusLineOverlay.onBusStationClick </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>覆写此方法以改变默认点击行为</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>被点击的站点在 <a class="el" href="">com.baidu.mapapi.search.busline.BusLineResult#getStations()</a> 中的索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>是否处理了该点击事件 </dd></dl>

</div>
</div>
<a id="afa098f2a4e0fea56e427e86ba77db592"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa098f2a4e0fea56e427e86ba77db592">&#9670;&nbsp;</a></span>onMarkerClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final boolean com.example.akisame_lin.love_air2.utils.BusLineOverlay.onMarkerClick </td>
          <td>(</td>
          <td class="paramtype">Marker&#160;</td>
          <td class="paramname"><em>marker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3670408552eea15f9a7e2939995b736a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3670408552eea15f9a7e2939995b736a">&#9670;&nbsp;</a></span>onPolylineClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.example.akisame_lin.love_air2.utils.BusLineOverlay.onPolylineClick </td>
          <td>(</td>
          <td class="paramtype">Polyline&#160;</td>
          <td class="paramname"><em>polyline</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a170ae0fce2e4d5d17d066ecf0ebff773"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a170ae0fce2e4d5d17d066ecf0ebff773">&#9670;&nbsp;</a></span>setData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.akisame_lin.love_air2.utils.BusLineOverlay.setData </td>
          <td>(</td>
          <td class="paramtype">BusLineResult&#160;</td>
          <td class="paramname"><em>result</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置公交线数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>公交线路结果数据 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a323eb1d31b4b75b16dad16e83c3a4029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a323eb1d31b4b75b16dad16e83c3a4029">&#9670;&nbsp;</a></span>mBusLineResult</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BusLineResult com.example.akisame_lin.love_air2.utils.BusLineOverlay.mBusLineResult = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>app/src/main/java/com/example/akisame_lin/love_air2/utils/<a class="el" href="_bus_line_overlay_8java.html">BusLineOverlay.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
